home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 22 / PC Actual CD 22.iso / SHARE / prog / POVRAY / STAR.ZIP / star.pov < prev    next >
Encoding:
Text File  |  1997-08-15  |  1.0 KB  |  42 lines

  1. /*
  2.  
  3.     STAR OBJECT INCLUDE FILE v1.0 - example file
  4.     Copyright (C) 1997 Thomas Willhalm
  5.  
  6.     This program is free software; you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation; either version 2 of the License, or
  9.     (at your option) any later version.
  10.  
  11.     This program is distributed in the hope that it will be useful,
  12.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.     GNU General Public License for more details.
  15.  
  16.     You should have received a copy of the GNU General Public License
  17.     along with this program; if not, write to the Free Software
  18.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20.  
  21. */
  22.  
  23. #include "colors.inc"
  24.  
  25. camera {
  26.   location <2, 0, 0>
  27.   look_at <0, 0, 0>
  28. }
  29.  
  30. light_source { <10, 10, 7> color White}
  31.  
  32.  
  33. #declare s_rad=0.05
  34. #declare s_nmb=5
  35. #declare s_maj=0.8
  36. #include "star.inc"
  37.  
  38. object { star
  39.   pigment { color White }
  40.   translate <1,2,3>
  41. }
  42.